//
//  OtherModel.h
//  DaJiang
//
//  Created by sally on 17/1/15.
//  Copyright © 2017年 jiniu. All rights reserved.
//

#import "BussinessModel.h"

@interface OtherModel : BussinessModel

@end

@class TimeData;
@interface TimeModel : BussinessModel

@property (nonatomic, assign) NSInteger created_at;
@property (nonatomic, assign) NSInteger updated_at;
@property (nonatomic, assign) NSInteger timeid;
@property (nonatomic, assign) NSInteger uid;
@property (nonatomic, strong) TimeData *data;

//选择时间接口
+ (void)queryTimeWithCompletion:(void (^)(NSMutableArray *timeList))completion;

//学历列表接口
+ (void)queryEducationWithCompletion:(void (^)(NSMutableArray *educationList))completion;

//年限列表接口
+ (void)queryYearWithCompletion:(void (^)(NSMutableArray *yearList))completion;

@end

@interface TimeData : BussinessModel

@property (nonatomic, assign) NSInteger type;
@property (nonatomic, strong) NSString *choose_time;
@property (nonatomic, strong) NSString *work_year;
@property (nonatomic, strong) NSString *education;

@end

@interface LocModel : BussinessModel

@property (nonatomic, strong) NSString *code;
@property (nonatomic, strong) NSString *name;

//查询省级区域接口
+ (void)queryLocWithCompletion:(void (^)(NSMutableArray *locList))completion;

//查询市级区域接口
+ (void)queryCityWithLoc:(NSString *)locId
              completion:(void (^)(NSMutableArray *cityList))completion;

//查询市2级区域接口
+ (void)queryCity2WithLoc:(NSString *)locId
               completion:(void (^)(NSMutableArray *cityList))completion;

@end
